package com.bigmodel.contant;

import cn.hutool.core.collection.ListUtil;

import java.util.Collections;
import java.util.HashSet;
import java.util.List;
import java.util.Set;

public class FaultName {

    public static String[] LIST_ARRAY = {
            "网络连接中断",
            "服务器崩溃",
            "数据库故障",
            "硬件故障",
            "内存溢出",
            "磁盘空间不足",
            "网络延迟",
            "电源故障",
            "操作系统崩溃",
            "网络安全漏洞",
            "网络拥塞",
            "网络设备故障",
            "网络配置错误",
            "网络丢包",
            "网络速度慢",
            "网络协议错误",
            "网络防火墙故障",
            "网络路由错误",
            "网络DNS解析错误",
            "网络负载不均衡",
            "网络IP地址冲突",
            "网络端口冲突",
            "网络VPN连接失败",
            "网络代理服务器故障",
            "网络防病毒软件故障",
            "网络入侵检测系统故障",
            "网络入侵攻击",
            "网络DDoS攻击",
            "网络黑客攻击",
            "网络蠕虫病毒感染",
            "网络恶意软件感染",
            "网络数据泄露",
            "网络数据丢失",
            "网络数据损坏"

    };



    public static void main(String[] args) {
        Set<String> set = new HashSet<>();
        set.addAll(ListUtil.toList(LIST_ARRAY));
        List<String> list = ListUtil.toList(set);
        Collections.sort(list);
        list.forEach(obj->{
            System.out.println("\""+obj+"\",");
        });
    }

}
